python clear list 在 Different ways of clearing lists - Stack Overflow 的評價 There is a very simple way to clear a python list. Use del list_name[:]. For example: >>> a = [1, 2, 3] ... ... <看更多>